<template>
	<view class="mailing_address_warp">
		<Header leftPathType="switchTab" leftPath="/pages/home/home" title="邮寄地址"/>
		<view class="mailing_address_content_warp">
			<view class="_content_warp">
				<view class="_content_title_comm">持卡人国家</view>
				<view class="_content_info_comm _content_info_comm2">
					<view class="_content_info_title_comm">请选择持卡人国家</view>
					<up-image src="/static/comm/right_h.png" width="16" height="16" bgColor="#f1f6ff00"></up-image>
				</view>
			</view>
			<view class="_content_warp">
				<view class="_content_title_comm">持卡人城市</view>
				<view class="_content_info_comm2">
					<up-input
						placeholder="请输入持卡人城市"
						border="surround"
						v-model="form.city"
						:customStyle="inputCss"
					  ></up-input>
				</view>
			</view>
			<view class="_content_warp">
				<view class="_content_title_comm">持卡人地址</view>
				<view class="_content_info_comm2">
					<up-input
						placeholder="请输入持卡人地址"
						border="surround"
						v-model="form.address"
						:customStyle="inputCss"
					  ></up-input>
				</view>
			</view>
			<view class="_content_warp">
				<view class="_content_title_comm">邮政编码</view>
				<view class="_content_info_comm2">
					<up-input
						placeholder="请输入邮政编码"
						border="surround"
						v-model="form.postalCode"
						:customStyle="inputCss"
					  ></up-input>
				</view>
			</view>
			<view class="but_comm_warp" @click="jumpCardApply">
				确认
			</view>
		</view>
	</view>
</template>

<script>
	import Header from '@/components/header_comm2.vue';
	
	export default {
		components:{Header},
		data() {
			return {
				form:{
					city:null,
					address:null,
					postalCode:null,
				},
				inputCss:{
					"height":'80rpx',
					"background": "#F3F3F3FF",
					"border-radius": "20rpx",
					"border": "0rpx",
					"padding-left": "16px",
				},
			};
		},
		methods: {
			jumpCardApply(){
				uni.navigateTo({
					url:"/pages/card_apply/card_apply",
				})
			}
		}
	}
</script>

<style lang="scss">
.mailing_address_warp{
	height: calc(100vh - 0rpx);
	overflow: hidden;
	.mailing_address_content_warp{
		padding: 30rpx;
	}
	._content_warp{
		margin-bottom: 40rpx;
		._content_title_comm{
			font-weight: 500;
			font-size: 28rpx;
			color: #333333;
		}
		._content_info_comm{
			background: #F3F3F3;
			border-radius: 20rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 30rpx;
			._content_info_title_comm{
				font-weight: 500;
				font-size: 36rpx;
				color: #999999;
			}
		}
		._content_info_comm2{
			margin-top: 20rpx;
		}
	}
	.but_comm_warp{
		margin-top: 100rpx;
	}
}
</style>
